Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding metadata to material page details and editions/details [DDFLSBP-543] #1146

Conversation

clausbruun
Copy link
Contributor

@clausbruun clausbruun commented Apr 23, 2024

Link to issue

https://reload.atlassian.net/browse/DDFLSBP-543

Description

Adding metadata to material page details and editions/details:

  • Author roles
  • Audience
  • Notes
  • Physical Description
  • Extended Language info
  • Source
  • Parts
  • Host Publication

Screenshot of the result

image image image

Additional info

The corresponding PR adding translation strings in dpl-cms is danskernesdigitalebibliotek/dpl-cms#1050

@clausbruun clausbruun marked this pull request as draft April 23, 2024 11:56
@clausbruun clausbruun changed the title Adding details Adding metadata material page details and editions/details [DDFLSBP-543] Apr 26, 2024
@clausbruun clausbruun changed the title Adding metadata material page details and editions/details [DDFLSBP-543] Adding metadata to material page details and editions/details [DDFLSBP-543] Apr 26, 2024
@clausbruun clausbruun changed the base branch from release/brahma-15 to release/brahma-15-1 April 26, 2024 10:27
@clausbruun clausbruun marked this pull request as ready for review May 2, 2024 07:29
.map((contributor) => contributor.display)
.map((contributor) => {
if (contributor.roles.length > 0) {
const roleNames = contributor.roles
Copy link
Contributor

@spaceo spaceo May 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These TS errors are a bit alarming.
It seems like you did not run the FBI codegen cmd after updating the fragment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.map((contributor) => {
if (contributor.roles.length > 0) {
const roleNames = contributor.roles
.map((role) => role.function.singular)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

if (contributor.roles.length > 0) {
const roleNames = contributor.roles
.map((role) => role.function.singular)
.join(", ");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to run codegen? The types are not matching...

Base automatically changed from release/brahma-15-1 to develop May 14, 2024 12:23
@clausbruun clausbruun changed the base branch from develop to release/brahma-16 May 16, 2024 11:47
@spaceo spaceo self-requested a review May 22, 2024 11:55
Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@spaceo spaceo removed their assignment May 22, 2024
@clausbruun clausbruun merged commit 71ef21e into release/brahma-16 May 22, 2024
20 checks passed
@clausbruun clausbruun deleted the feature/DDFLSBP-543-se-vaerkvisningssiden-tilfojelse-af-metadata-under-se-detaljer-og-under-udgaver-detaljer branch May 22, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants